package com.metagurukul.informer.valueObjects;
import java.sql.*;
/**
 * This class is mapped with database table questions
 */
public class Questions{
	private int id;
	private String title;
	private String description;
	private boolean closed;
	private String user_id;
	private Date posted;
	
	public Questions(int id, String title, String description, boolean closed,
			String user_id, Date posted) {
		this.id = id;
		this.title = title;
		this.description = description;
		this.closed = closed;
		this.user_id = user_id;
		this.posted = posted;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getId() {
		return id;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getTitle() {
		return title;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getDescription() {
		return description;
	}

	public void setUser_id(String user_id) {
		this.user_id = user_id;
	}
	public String getUser_id() {
		return user_id;
	}
	public void setPosted(Date posted) {
		this.posted = posted;
	}
	public Date getPosted() {
		return posted;
	}
	public void setClosed(boolean closed) {
		this.closed = closed;
	}
	public boolean isClosed() {
		return closed;
	}
}